<?php
$this->breadcrumbs=array(
	'Change password',
);
?>


<?php
/* @var $this UserController */
/* @var $model User */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'user-form',
	//'enableAjaxValidation'=>true,
	'enableClientValidation'=>true,
)); ?>
<div class="right-box-item">
<h1>Change password</h1>
<div style="margin:20px">
	<div class="row">
		<?php echo $form->labelEx($model,'oldpassword'); ?>
		<?php echo $form->passwordField($model,'oldpassword',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'oldpassword'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'password'); ?>
		<?php echo $form->passwordField($model,'password',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'password'); ?>
	</div>
	
	<div class="row">
		<?php echo $form->labelEx($model,'confirm'); ?>
		<?php echo $form->passwordField($model,'confirm',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'confirm'); ?>
	</div>

<p class="note">Thông tin bắt buộc <span class="required">*</span></p>

	<div class="row buttons">
		<?php echo CHtml::submitButton( 'Change'); ?>
	</div>

<?php $this->endWidget(); ?>
</div></div></div>
</div><!-- form -->